﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LDM.Sys.ServiceAPI.Model.DBModel
{
    /// <summary>
    /// 用户角色关联
    /// </summary>
    [SugarTable("sys_user_role_rel", TableDescription = "用户角色关联")]
    public class SysUserRoleRel
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int UserId { get; set; }

        /// <summary>
        /// 角色id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int RoleId { get; set; }

    }
}
